/*
 * Copyright (c) 2017. 深圳一七科技. All rights reserved.
 */

package com.yiqi.liebang.feature.news.contract;

import com.suozhang.framework.entity.bo.UserInfoBo;
import com.suozhang.framework.framework.BasePresenter;
import com.suozhang.framework.framework.BaseView;
import com.yiqi.liebang.entity.bo.FriendBo;
import com.yiqi.liebang.entity.bo.IssuesBo;
import com.yiqi.liebang.entity.bo.PeopleBo;

import java.util.List;

import io.reactivex.Observable;

/**
 * LIJUWEN
 *
 * @email yiyayiyayaoljw@gmail.com
 * @date 2018/7/11 9:06
 */
public interface IssuesContract {

    interface Model {
        Observable<List<IssuesBo>> getIssuesBo();
        Observable<String> getRefuseFriend(IssuesBo id);
        Observable<String> getPassFriend(IssuesBo id);
    }

    interface View extends BaseView {
        void showIssuesSuccess(List<IssuesBo> s);
        void showRefuseFriendSuccess();
        void showPassFriendSuccess();
        void showEmpty();
        void showIssuesError(String error);
        void showError(String error);
    }


    interface Presenter extends BasePresenter {
        void getIssuesBo();
        void getRefuseFriend(String id);
        void getPassFriend(String id);
    }
}
